package cn.qidisoft.edu.hzjt.dao.xb;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.session.RowBounds;

import cn.qidisoft.edu.hzjt.model.xb.WindUpStudyEn;

public interface WindUpStudyMapper {

    List<WindUpStudyEn> queryList(WindUpStudyEn WindUpStudyEn);

    List<WindUpStudyEn> queryPageList(WindUpStudyEn WindUpStudyEn, RowBounds rowBounds);

    int queryPageListcount(WindUpStudyEn WindUpStudyEn);

    WindUpStudyEn queryByPK(WindUpStudyEn WindUpStudyEn);

    int insert(WindUpStudyEn WindUpStudyEn);

    void update(WindUpStudyEn WindUpStudyEn);

    void delete(WindUpStudyEn WindUpStudyEn);

    List<Map<String, Object>> queryAllYearList();

    Map<String, Object> queryUserDeptAndOrg(int empId);

    List<Map<String, Object>> queryUserAllAuditData(Map<String, Object> map, RowBounds rowBounds);

    int queryUserAllAuditDataCount(Map<String, Object> map);

    List<Map<String, Object>> queryAllDeptList();

    List<Map<String, Object>> queryAllOrgList();

    /**
     * 
     * @param data
     * @return
     */
    int updateStates(WindUpStudyEn data);

}
